<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="/css/common.css">
  <!-- <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="Expires" content="0" /> -->
  <style>
    body {
      color: #fff;
      background: #000;
    }
  </style>
</head>
<body>
  <h3>为什么前端添加了meta，请求头不缓存，服务端还是返回 304 Not Modified 资源没更改</h3>
  <img src="/img/no-cache.png" alt="">
  <div>
    <img src="/img/server-set-no-cache.png" alt="">
  </div>
  <script src="/js/test-cache.js"></script>
</body>
</html>